<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        body {
            /* important没有作用 ---- 继承的权重是0 */
            color: red !important;
        }

        body .a {
            color: blueviolet;
        }




        .ccc-b {
            color: pink !important;
        }


        /* .header .container .topbar ul li span a {} */

        /* 使用后代选择器的时候，需要写关键性的节点 */
        /* .header .topbar a {} */
    </style>
</head>

<body>

    important

    <h1 class="a ccc-b">111</h1>


    <div class="header">
        <div class="container">
            <div class="topbar">
                <ul>
                    <li>
                        <span>
                            <a href=""></a>
                        </span>
                    </li>
                </ul>
            </div>

        </div>
    </div>





</body>

</html>